#include <stdio.h>
int main ()
{   
    double a,b,c,x;
	printf("Please input a:");
    scanf("%lf",&a);
    printf("Please input b:");
    scanf("%lf",&b);
    printf("Please input c:");
    scanf("%lf",&c);
    if((a+b>c)&&(a+c>b)&&(b+c>a))
    {
    	x=a+b+c;
    	printf("The perimeter of the triangle is:%lf",x);
	}
	else
	{
		printf("Can't form a triangle");
	}
	return 0;
}

